<template>
  <div class="workshops_container">
      <!--<dv-loading v-if="loading"></dv-loading>-->
      <list-header
      :type="type"
      :title="title"
      icon="clipboard"
      searchplaceholder="请输入物品名称"
      @on-search="SearchMthods"
      @on-index="resetMethods"
      :dateSel="true"
    />
      <div class="workshops_main">
        <c-tbale :columns="columns" :tableData="tableData" :tableHeight="tableHeight"/>
      </div>
  </div>
</template>

<script>
import listHeader from "@/components/listHeader/index";
import cTbale from "../../../components/tablePage/tablePage";
import minix from "../../../mixins/table";
export default {
  components: {
    listHeader,
    cTbale,
  },
  mixins: [minix],
  data(){
    return{
      type:"InventoryRecord",
      title:"盘库记录",
      indexurl:"InventoryRecordPage",
      delurl: "InventoryRecordDel",
      columns:[
        { text: "物品名称", prop: "MATERIALNAME", width: '15%' },
        { text: "型号", prop: "MODELNUMBER", width: '15%' },
        { text: "库存", prop: "AMOUNT", width: '10%' },
        { text: "入库数", prop: "INNUM", width: '10%' },
        { text: "出库数", prop: "OUTNUM", width: '10%' },
        { text: "实际库存", prop: "PHYSICAL_INVENTORY", width: '10%'},
        { text: "创建时间", prop: "createTime", width: '15%' },
        { text: "创建人", prop: "CREATOR", width: '10%' },
        { text: "备注", prop: "REMARK", width: '10%' },
      ],
      tableData: [],
    }
  }
};
</script>

<style>
</style>